package com.itheima.youdianda;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author Pan Rundong
 * @Date 2023-02-08 22:00
 * @Desc 开启
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan// 扫描javaweb技术三大组件注解@WebServlet，@WebFilter以及@Web
@EnableTransactionManagement
public class ContentAppStart {
    public static void main(String[] args) {
        SpringApplication.run(ContentAppStart.class,args);
        log.info("start success！");
    }
}
